{# Copyright (c) 2016-2017, NVIDIA CORPORATION.  All rights reserved. #}

{% from "helper.html" import print_flashes %}
{% from "helper.html" import print_errors %}
{% from "helper.html" import mark_errors %}

<div class="row">
    <div class="col-sm-6">
        <h3>Test an image</h3>
        <div class="form-group{{mark_errors([form.gradient_x])}}">
            {{ form.gradient_x.label }}
            {{ form.gradient_x.tooltip }}
            {{ form.gradient_x(class='form-control') }}
        </div>

        <div class="form-group{{mark_errors([form.gradient_y])}}">
            {{ form.gradient_y.label }}
            {{ form.gradient_y.tooltip }}
            {{ form.gradient_y(class='form-control') }}
        </div>
    </div>

    <div class="col-sm-6">
        <h3>Test a list of images</h3>
        <div class="form-group">
            <div class="form-group{{mark_errors([form.test_image_count])}}">
                {{ form.test_image_count.label }}
                {{ form.test_image_count.tooltip }}
                {{ form.test_image_count(class='form-control') }}
            </div>
        </div>
    </div>
</div>

